package com.xk857.pojo;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 小车
 * @Author CV大魔王
 * @Date 2020.1.20
 */
@ApiModel("小车")
@Data
public class Car {

    @ApiModelProperty("小车id")
    private Integer carId;

    @ApiModelProperty("小车状态")
    private String carAction;

    @ApiModelProperty("小车余额")
    private Integer money;

    @ApiModelProperty("小车速度")
    private Integer speed;

    public Car(Integer carId, String carAction, Integer money, Integer speed) {
        this.carId = carId;
        this.carAction = carAction;
        this.money = money;
        this.speed = speed;
    }

    public Car() {
    }
}
